package com.cordys.opensource.crom;

import com.cordys.cpc.bsf.busobject.BusObject;

class DomainObjectPersistence
{
	private BusObject databaseObject;
	private BusObject mappingObject;
	private BusObject dbActiveRevision;
	private BusObject dbNewRevision;
	
	BusObject getDatabaseObject()
	{
		return databaseObject;
	}
	
	void setDatabaseObject(BusObject databaseObject)
	{
		this.databaseObject = databaseObject;
	}
	
	BusObject getMappingObject()
	{
		return mappingObject;
	}
	
	void setMappingObject(BusObject mappingObject)
	{
		this.mappingObject = mappingObject;
	}

	void setActiveRevisionObject(BusObject dbActiveRevision)
	{
		this.dbActiveRevision = dbActiveRevision;
	}

	BusObject getActiveRevision()
	{
		return dbActiveRevision;
	}

	void setNewRevision(BusObject dbNewRevision)
	{
		this.dbNewRevision = dbNewRevision;
	}

	BusObject getNewRevision()
	{
		return dbNewRevision;
	}
	
	
}

